package com.qst.dao;

import com.qst.pojo.Houselist;
import com.qst.pojo.QueryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository public interface HouselistMapper {
	 List<Houselist> selectAll(@Param("status") String status);

	 public Integer findhouselistByVoCount(QueryVo vo);

	 Houselist findhouseid(String houseid);

	 void inserthouse(Houselist houselist);

	 void deletehouse(int id);

	 Houselist findid(int id);

	 Houselist findhouseidupdate(Houselist houselist);

	 void updatehouse(Houselist houselist);

	 void updatehousestatus(Houselist houselist);

	 public void deletehousebyhouseid(String house_id);

	 public void updatestatus(Houselist houselist);

	 List<Houselist> selectAllByUserId(@Param("userid") Integer userid,
			 @Param("status") String status);
}
